<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>LegendBox.setKeyBorder</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="LegendBox.htm">LegendBox</a>.<wbr>setKeyBorder</p>
<hr class="separator">
<p class="heading2a">Usage</p>
<div class="content">
public void setKeyBorder(int edgeColor [, int raisedEffect ])
</div>
<p class="heading2">Description</p>
<div class="content">
Sets the default border color of the legend icon.<br><br>
This method applies only to data sets of which the icons are rectangles showing the colors of the data sets. If the icon is a shape or symbol (such as for a line with data point symbols), the border color of the original shape or symbol is always used.
</div>
<p class="heading2">Arguments</p>
<div class="content">
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Argument</th><th width="19%">Default</th><th>Description</th>
</tr>
<tr>
<td>edgeColor</td><td>(Mandatory)</td><td>The border color.</td></tr><tr><td>raisedEffect</td><td>0</td><td>The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat. This argument can also be used to specify <a href="Chart.glassEffect.htm">Chart.glassEffect</a>, <a href="Chart.softLighting.htm">Chart.softLighting</a>, <a href="Chart.cylinderEffect.htm">Chart.cylinderEffect</a> or <a href="Chart.flatBorder.htm">Chart.flatBorder</a> effects.</td>
</tr>
</table>
</div>
</div>
<p class="heading2">Return Value</p>
<div class="content">
None
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
